SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '20b30acc3e827aaf8e3709417a95a6e5afbad7a517cd5c99c966ba8f5628ad01' 
  AND token = 'WLMJ0/524Jv/b3ytgeU4WPO27Eci/VxbbGACoofNSsk=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00047

JSON explain

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