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

Query time 0.00040

JSON explain

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