SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '2c98737618c882102ce50ca640508bca24ab4286aae4f4a8fadb0cae23c77a4f' 
  AND token = '2TrdgquND7OJULnc0WvXh2X6Q46bhIQAy8544xVb/NY=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00030

JSON explain

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