SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '77a78af03e443f5c86abc123f92f8122adf4fdf378c86fc0ddf7ce376cda6928' 
  AND token = 'd057sLpmlUH47o8+Z3Q+50wPp5vGHxRkgdUTbrfa76o=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00055

JSON explain

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