SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'da7f182a105848c1662744985b1941b133cecdc4f85c0058188da178d8291375' 
  AND token = 'hnHFlQfPx+q8KvFOPIb3KkDdFg0ceDpPLyfcmCzDVgs=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00017

JSON explain

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