SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'be7dc8882ecb39bfb52857ac52553e087f87967e5d631a4819005278d34b6a1a' 
  AND token = 'sofpJMcEVAxQ1juxgw8lCEgVtTEGDJ3p1N3PhOAXYoM=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00023

JSON explain

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