SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '8633337eec04ca4d62fe3205124bb747b995684c0592a7b54cd0e74fad7b8654' 
  AND token = 'syOozPLqlcWemScxPwyH06Z3H84vjHOSheVTzEPtKPc=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00046

JSON explain

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