SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '651dd50975090305a63d82007135cf774a3fa2878367faaa30287cd4c8bcd7de' 
  AND token = 'KYmNLKV65Tx0189N4rkhUt8vuZikOxkBNXef/TSaiSs=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00025

JSON explain

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