SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '40708eded04e42793249ff4d0020bad0a3d99dc56b3338560891948525067daa' 
  AND token = 'ZaAzfI5zpW5oVChoO4MHGao1yJJVk0Ty06a/+/nI1Sc=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00064

JSON explain

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