SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'a5929f1953b7ae613312efa0b56b6ba71e99105f5e89c78e2780452a3e1c06bd' 
  AND token = 'D0aHdn8RzzYIgLyJJ0HTw/ZOZ6ztSlMXi6VcVYm0lIw=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00024

JSON explain

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