SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'ac9a7487088f8f8248416d081ffff438efa4dde50c170e2e4200817a57282ac9' 
  AND token = 'JJz6zK9IseD9d+laIO/6ffeJBprWv5SxIPtTVVxJVrw=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00023

JSON explain

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