SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'e2567961ac1bd9b548db039b342d412d689ef12f39a229500947b37d0011ea5e' 
  AND token = 'AasiEiQGYpG6/PR/e46evCVdaMapALbW9pkCPDhrB0w=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00014

JSON explain

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