SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'b6b336cf8c5ad4ca468ef883e52d37bff1ce92396baecf3b521c5cd8e9c8f85e' 
  AND token = 'w5UpZlGrcGpxKx2iPRH0vmvANZQTzJSfO3z7XUpbLJ0=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00023

JSON explain

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