SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '51ec9a6b1453e896803831555d9a2b70b91bfb15a1b2c301bdd1f73fc49ae6af' 
  AND token = 'ntzvrXt2AeI+eHd71tT5u5i2b70McEd9dZS8Meo4WQg=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00050

JSON explain

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