SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'ac1c65d520a890c7bc88e6d04add052564215d4295fc36c4804796e9fabaaaa6' 
  AND token = 'y+GzlM96fMSS7XWj/oVLWyDYgJpcoFDsDA7ssuvOb7M=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00037

JSON explain

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