SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'd477107a3ff8dbd16e927e330fc7d73b6890661348caed41dc30af60b002d04c' 
  AND token = 'ZZAe2pKekrni1ez2jFKI+9SO5kIqBhxi+6Mb7ABk9cs=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00029

JSON explain

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