SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '2eda231ac9e26eda1a93d8c329263a8ced2716068b81695a9b5f653d4b3598d9' 
  AND token = 'gM4wTNUXpE/k/ehpHKvdBSXQwqbftdipyNqKmvbPws0=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00017

JSON explain

{
  "query_block": {
    "select_id": 1,
    "message": "no matching row in const table"
  }
}