SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '40df0c865fd1bb1c57f42eb3b984a87f4a9953e7ee6f5161ade7f5a812fb98ab' 
  AND token = 'NJJnWjdYU5MxY7uheVPIpVEySmbbsyez2muuc/ZSDJI=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00042

JSON explain

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