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

Query time 0.00084

JSON explain

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