SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '371539f9bf85463761ed9d17da5b89bfe3b4598d30bcd54e91e32646439fe0ba' 
  AND token = 'M86i/r9x4b3EpT5c0vsgzBm/P7IqK4kRc7Gci+W7ols=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00013

JSON explain

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