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

Query time 0.00024

JSON explain

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