SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '594eb1ac24c85e580458f7882bdc8b712805ba637fd6272a47911569678fe276' 
  AND token = 'dHDB02KtESuxND5veHZCyb+HUS0fq54Achuwsot9rQw=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00026

JSON explain

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