SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'e3baa77435db6c852a4a842e5ed7c03ea0d2be0dfd0ec7c4b14297d17a8b4450' 
  AND token = 'QO+cKWnmmnrrQ5a0mPNNd566Doe2mzV6D63XNsvLPjA=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00023

JSON explain

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