SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '964d3fced6082f7f7ab23af2a5abaf2b0f458c750d3c6b3aa0c8d5557bda170c' 
  AND token = 'oxBVnYVOt5HueGa7XFzh0Idh4hTdoGcSjnrlwxVasDI=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00030

JSON explain

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