SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'c42f5d1d3b3afbe4e129901214edd76aad08d43b8f4d95fafed5aabfc350e8ac' 
  AND token = 'uTXkwVpA2fcm8hy8eGAiAJYb2M/bi0Uije0hL0/qL60=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00028

JSON explain

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