SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '815196912b49b321466485765b9ed910ccb8db01f1df201181cc6536e4fe152b' 
  AND token = 'MkSK2XVFddEqkhI6P1f2+MVHwEo59tqd/ACXGPqL670=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00041

JSON explain

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