SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'c8127cd0aa1032777db61ac1fdd69b1414628deaf2ce859ba693685606e779b9' 
  AND token = 'uq8f2sYoS3i532imvQKI3NF/m/Korg+yddZwkDtQV94=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00017

JSON explain

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